package com.zmn.oms.persistence.interfaces.remark;


import com.zmn.oms.model.entity.remark.OrderRemarkDetail;
import com.zmn.oms.model.entity.remark.OrderRemarkDetailQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/** 
 * 类描述：订单备注详情 dao
 * @author  lujia
 * @date   2018-11-28 17:11:37
 */
public interface OrderRemarkDetailDao {

    /**
     * 根据订单id集合查询备注详情
     * @param orderIdList 订单id集合
     * @return 备注详情
     */
    List<OrderRemarkDetail> listOrderRemarkDetailByOrderIdList(@Param("orderIdList") List<Long> orderIdList);

    /**
     * 通过条件查询
     * @param query
     * @return
     */
    List<OrderRemarkDetail> listOrderRemarkDetailByQuery(OrderRemarkDetailQuery query);

    /**
     * 根据条件删除
     * @param orderRemarkDetail
     */
    void deleteOrderRemarkDetailByParams(OrderRemarkDetail orderRemarkDetail);

    /**
     * 插入工单备注
     * @param detailList
     */
    void insertOrderRemarkList(@Param("detailList") List<OrderRemarkDetail> detailList);
}